/**
 * 作者：
 * 创建时间：2012-7-5 下午3:10:52
 */
package dragon.model.base;

import java.util.Comparator;

/**
 * 模型排序
 */
public class ModelSort implements Comparator<Object> {
	@Override
	public int compare(Object o1, Object o2) {
		Model m1 = (Model) o1;
		Model m2 = (Model) o2;
		return m1.getOrderNum() - m2.getOrderNum();
	}
}